package com.naiterui.ehp.bs.doctor.service.user;

import com.naiterui.ehp.bp.support.exception.BusinessException;
import com.naiterui.ehp.bs.doctor.vo.LicenseNewParam;
import com.naiterui.ehp.bs.doctor.vo.LicenseParam;


/**
 * 医生认证相关接口
 *
 * @author 王泽浩
 * @since 1.0.0
 */
public interface IDoctorAuthService {


    /**
     * 更新医生授权资质
     *
     * @param licenseParam
     *            资质参数
     */
    void updateAuth(Long doctorId, LicenseParam licenseParam) throws BusinessException;

    /**
     * 获取医生实名认证验证码
     * @param doctorId
     * @throws BusinessException
     */
    void getRealnameCode(Long doctorId) throws BusinessException;

    /**
     * 校验医生实名认证验证码
     * @param doctorId
     * @throws BusinessException
     */
    void checkRealnameCode(Long doctorId, String code) throws BusinessException;

    /**
     * 更新医生授权资质
     *
     * @param licenseNewParam
     *            资质参数
     */
    void updateAuthNew(Long doctorId, LicenseNewParam licenseNewParam) throws BusinessException;
}
